package com.geekhalo.admin.domain.app.enable;

import com.geekhalo.lego.core.command.CommandService;
import com.geekhalo.lego.core.command.CommandServiceDefinition;
import com.geekhalo.lego.core.command.CommandMethodDefinition;

import com.geekhalo.admin.domain.app.WebApplication;
import com.geekhalo.admin.domain.app.WebApplicationCommandRepository;

import com.geekhalo.admin.domain.app.enable.EnableWebApplicationCommand;
import com.geekhalo.admin.domain.app.enable.EnableWebApplicationContext;
import java.lang.Void;


@CommandServiceDefinition(domainClass = WebApplication.class, repositoryClass = WebApplicationCommandRepository.class)
public interface EnableWebApplicationService
    extends CommandService<EnableWebApplicationCommand, Void> {

    @Override
    @CommandMethodDefinition(contextClass = EnableWebApplicationContext.class)
    Void execute(EnableWebApplicationCommand command);
}
